<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var a=prompt("请输入一个正整数");
			var b=a.charAt(0);
			alert(b);
		</script>
	</head>
	<body>
	</body>
</html>
